body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

/* 设置 dialog 样式 */
.dialog-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* 设置对话框消息容器样式 */
.message-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  max-height: 800px;
}

/* 设置系统消息样式 */
.system-message {
  align-self: flex-start;
  background-color: #f0f0f0;
  border-radius: 5px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
}

/* 设置用户消息样式 */
.user-message {
  align-self: flex-end;
  background-color: #c3e88d;
  border-radius: 5px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
}

.user-box {
  position: fixed;
  bottom: 50px;
  /*left: 50%;*/
  /*transform: translateX(-50%);*/
  width: 80%;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.input-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 消息时间样式 */
.message-time {
  margin-bottom: 4px;
  font-size: 12px;
  color: #999;
}

/* 头像样式 */
.avatar {
  margin-right: 8px;
}
